/*
 * CommandePoser.cpp
 *
 *  Created on: 21 dec. 2012
 *      Author: guegan
 */

#include "CommandePoser.h"

CommandePoser* CommandePoser::instance = NULL;

CommandePoser* CommandePoser::getInstance() {
	if (instance == NULL)
		instance = new CommandePoser();
	
	return instance;
}

Commande* CommandePoser::constructeurVirtuel() {
	Commande* com = new CommandePoser();
	
	return com;
}

void CommandePoser::execute() {
	//obj = bot->getObjet();
	
	bot->poser();
}

void CommandePoser::desexecute() {
	bot->saisir(obj);
}

bool CommandePoser::reversible() {
	return true;
}

